package cn.micro.tree.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 有节点父子关系变成树
 */
public class Tree extends TreeNodeWrapper {

    public Tree(TreeNode treeNode) {
        super(treeNode);
    }

    /**
     * 子节点
     */
    private List<Tree> children = new ArrayList<>();

    public List<Tree> getChildren() {
        return children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }

}
